package com.wenbai.servicelightluxurystickers.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("stick_user")
public class StickUser {
    @TableId(type = IdType.AUTO)
    private Long userId;
    private String account;
    private String passwordHash; // 存储 bcrypt 哈希
    private String nickname;
    private String avatar;
    private String phone;
    private String idCard;
    private String realName;
    private String gender; // "0"-女, "1"-男, "2"-未知
    private String birthDate; // 格式：yyyy-MM-dd
    private String profile;
    private String address;
    private String email;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}